/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let Tag = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M525.909333 193.834667a78.506667 78.506667 0 0 0-61.952-22.954667l-204.586666 15.744a78.805333 78.805333 0 0 0-72.746667 72.832l-15.744 205.056a79.146667 79.146667 0 0 0 22.954667 62.122667l302.848 303.36c14.933333 15.018667 34.730667 23.210667 55.893333 23.210666 21.12 0 41.045333-8.277333 55.936-23.168l220.288-220.714666c30.848-30.890667 30.848-81.066667 0-112l-302.933333-303.488z m217.6 398.890666l-151.509333 151.68a54.016 54.016 0 0 1-76.842667 0L266.752 495.786667a54.485333 54.485333 0 0 1-15.786667-42.666667l10.837334-140.970667A54.186667 54.186667 0 0 1 311.850667 261.973333l140.629333-10.837333a53.76 53.76 0 0 1 42.624 15.786667l248.32 248.746666c21.333333 21.205333 21.333333 55.808 0.128 77.056zM390.741333 331.008a60.074667 60.074667 0 1 0-0.042666 120.106667 60.074667 60.074667 0 0 0 0.042666-120.106667z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

Tag.defaultProps = {
  size: 18,
};

Tag = React.memo ? React.memo(Tag) : Tag;

export default Tag;
